ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common.Implementation Namespace / GenericCache<TKey,TValue,TCacheNodeFactory> Class
Properties Methods Events

In This Topic
    GenericCache<TKey,TValue,TCacheNodeFactory> Class Members
    In This Topic

    The following tables list the members exposed by GenericCache<TKey,TValue,TCacheNodeFactory>.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the GenericCache class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets cache capacity  
    Public PropertyGets cache items count  
    Public PropertyGets fill factor  
    Public PropertyGets the value by jey specified. Gets null if cache doesn't contain the key  
    Public PropertyGets the space currently occupied  
    Top
    Public Methods
     NameDescription
    Public MethodAdd a new item into the cache.  
    Public MethodClears cache entirely. Does not dispose items contained within the cache  
    Public MethodGets true if item is currently in cache  
    Public MethodGets keys of the items currently stored in cache  
    Public MethodReturns the item associated with the supplied identifier.  
    Public MethodSwaps the specified item out of the cache  
    Public MethodEmpties the cache of all items.  
    Public MethodRemoves item from cache  
    Public MethodTouch or refresh a specified item. This allows the specified item to be moved to the end of the dispose queue. E.g. when it is known that this item would benefit from not being purged.  
    Top
    Public Events
     NameDescription
    Public EventCalled when item is requested but not found in cache  
    Public EventRaised before item is purged out of the cache  
    Top
    See Also